(function() {
    'use strict';

    window._erp_router = {
        'main': {
            url: "/main",
            templateUrl: "views/main.html",
            controller: "MainCtrl"
        },

        //=======主页starty==
        'home': {
            url: "/home",
            template: "<div ui-view></div>",
            controller: "HomeCtrl",
        },
        'home.index': {
            url: "/index",
            templateUrl: "views/home.index.html",
            controller: "HomeCtrl",
        },
        //=======活动starty==
        'huodong': {
            url: "/huodong",
            template: "<div ui-view></div>",
            controller: "HuodongCtrl",
        },
        'huodong.index': {
            url: "/index",
            templateUrl: "views/huodong.index.html",
            controller: "HuodongCtrl",
        },

    }
})();